const mutations={
	getgoods(state,{arr}){
		// console.log(arr)
		state.prolist=arr
	},
	getshop(state,{arr}){
		// console.log(arr)
		state.shoplist=arr
	},
	getnames(state,nobj){
		// console.log(nobj)
		state.username=nobj.username
	},
	getpsds(state,pobj){
		state.password=pobj.password
	},
	getusers(state,{obj}){
		state.regmsg=obj
	},
	getlogins(state,{uobj}){
		// console.log(uobj)
		state.userObj=uobj
		state.uid=uobj.data.id
		state.token=uobj.data.token
	},
	getpid(state,{pid}){
		// console.log(pid)
		state.pid=pid
	},
	getdetails(state,{obj}){
		// console.log(obj)
		state.detailObj=obj
	}
	
}

export default mutations